<?php
namespace Core;

require_once __Dir__ . '/../../simpletest/autorun.php';

class TestOfSendContact extends \UnitTestCase 
{
	/**
	* Test a correct update user avatar
	*
	* @reference
	*
	* @requirement
	* @requirement
	*/
    function testCorrectSendContact() 
	{
		$services = new CoreService();
		
		$result = $services->sendContact("Julien", "Tryphon", "jtryphon@tournesol.fr", "test", "je test le send contact");
		
		$this->assertFalse($result->isFailed);
		$this->assertTrue(isset($result->response));
    }
	
	/**
	* Test an invalid update user avatar by user not exist
	*
	* @reference
	*
	* @requirement
	* @requirement
	*/
    function testInvalidSendContact() 
	{

    }
}
?>